from pyecharts.charts import Pie
from pyecharts import options

data = [("九江",15),("南昌",20),("长沙",40),("杭州",25)]
pie = Pie()
pie.add("百分比/%",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市岗位占比图"))
pie.render("piera.html")
